<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/inc/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>jQuery弹出框插件wBox1.0实例 | jQuery plugin wBox Demo | By WYQ</title>
		<link href="/css/style.css" rel="stylesheet" type="text/css" />
		<link href="/css/common.css" rel="stylesheet" type="text/css" />
		<link href="/css/mblog.css" rel="stylesheet" type="text/css" />
		
		<script src="/js/jquery-1.4.2.min.js" type="text/javascript"></script>
		<script src="/js/wbox.js" type="text/javascript"></script>
		<link href="/css/wbox/wbox.css" rel="stylesheet" type="text/css" />
		<script src="/js/prettydate.js"></script>
		<script src="/js/miniblog.js"></script>
		<script src="/js/common.js"></script>
		
		<script type="text/javascript">
			var path = "${path}";
		</script>
		<script type="text/javascript" src="${path }/js/dialog/zDialog.js"></script>
		<script type="text/javascript" src="${path }/js/dialog/zDrag.js"></script>
		<script> 
			$(function(){
				template = '<dd id="{id}"><div class="msg"><div class="msg_pic"><img src="{pic}" width="45px" height="45px"/></div><div class="msg_txt"><div class="msg_username"><a href="{link}">{username}</a></div><div class="msg_content">{text}</div><div class="msg_info">{pretty_time}</div></div></div></dd>';
		  		t_update(template,10);
					  	
			});
			
			
			
			
			
		</script>
	</head>
	<body>
		<!--top part start -->
		<div id="toppart">
			<!--left part start -->
			<div id="leftPart">
				<a href="index.htm"><img src="" alt="Bluish"
						width="195" height="68" class="logo" /> 
				</a>
						
				
			
			</div>
			<!--left part end  -->
			
			<!--right part start -->
			<div id="right">
				<!--top ul start-->
				<div id="rightTop">
					<%@ include file="/inc/top.jsp" %>
				</div>
				<!--top ul end -->
				
				<!--what more start -->
				<div id="rightmid">
					<div class="user_box">
						<div class="user_pic">
							<c:if test="${managerUser !=null}">
								<img src="/picture/show/${managerUser.memberPhoto }" />
							</c:if>
							
							<c:if test="${member != null }">
							<div class="btn btn_try">
								<a href="javascript:void(0)" onclick="openOrder()">申请</a><span></span>
							</div>
							</c:if>
						</div>
						<div class="user_info">
							<c:if test="${manager !=null}">
								<span>今日店主</span>
								<div>
									用户名:${manager.orderMember }
								</div>
								<div>
									昵称:${managerUser.memberRealName }
								</div>
								
								<div>
									开店日期:${manager.orderRequestYear }-${manager.orderRequestMonth }-${manager.orderRequestDay }
								</div>
								<div>
									到期日期:${manager.orderEndYear }-${manager.orderEndMonth }-${manager.orderEndDay }
								</div>
							</c:if>
							<c:if test="${manager == null}">
								<div>
									今日无店主打理
								</div>
							</c:if>
						</div>
						<div class="product_info">
							<c:if test="${manager != null}">
								<span>镇店之宝</span>
								
							</c:if>
							
						</div>
					</div>
					
					<c:if test="${! empty auctionGoods10}">
						<div id="auctionGoods10" class="auction_goods_10">
							<div class="special">
								<div class="mt"> 
									<h2>最新拍卖</h2> 
									<div class="extra"></div> 
								</div> 
								<div class="mc">
									<ul class="list-h"> 
										<c:forEach items="${auctionGoods10}" var="auction">
											<li class='fore'> 
												<div class="p-img">
													<a target="_blank" href='#'>
														<img src='/picture/show/${auction.goodsImg }' width="100" height="100" alt='' />
													</a>
												</div> 
												<div class="p-name">
													<a target="_blank" href='#'>
														${auction.goodsName }
													</a>
												</div> 
												<div class="p-price">
													拍卖日期：<strong><fmt:formatDate  value="${auction.auctionDate }"  pattern="yyyy-MM-dd" /></strong>
												</div> 
											</li> 
										</c:forEach>
									</ul>
								</div>
							</div>
						</div>
					</c:if>
					
					
					<div class="user_products_list">
						
						<dl id="divmsg" class="msgdiv">
							<dt class="txt_blue">最新消息</dt>
						</dl>
					</div>
					
				</div>
				<!--what more end -->
				<br class="spacer" />
			</div>
			<!--right part end -->
			<br class="spacer" />
		</div>
		<!--top part end -->

		
		
		<a id="isFrame2" href="500x400.html">本地iframe 自适用高度</a>
		<a id="ajax" href="1.html">ajax 1.html</a>

		<script type="text/javascript"> 
		   $("#isFrame2").wBox({
		   	requestType: "iframe",
			target:"500x400.html"
		   });
		   $("#ajax").wBox({
		    requestType: "ajax",
			target:"1.html"
		   });
		   
		</script>
	</body>
</html>